package com.he.domain.vo;


import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Builder;
import lombok.Data;

import java.util.List;

/**
 * @author He
 * @version 1.0
 * @Date 2023/10/3 11:02
 * @Desc 后台登录用户信息
 */
@Data
@Builder
@Schema(description = "后台登录用户信息")
public class UserBackInfoVO {

    /**
     * 用户id
     */
    @Schema(description = "用户id")
    private Integer id;

    /**
     * 头像
     */
    @Schema(description = "头像")
    private String avatar;

    /**
     * 角色
     */
    @Schema(description = "角色")
    private List<String> roleList;

    /**
     * 权限标识
     */
    @Schema(description = "权限标识")
    private List<String> permissionList;

}
